tapLeft

inline fun <A, B> Either<A, B>.tapLeft(f: (A) -> Unit): Either<A, B>(source)

Pass the left value to the function (e.g. for logging errors)